Skip to content

Merging latest changes from main to development branch#521

Merged
chetanr25 merged 9 commits into
developmentfrom
main
May 30, 2026
Merged

Merging latest changes from main to development branch#521
chetanr25 merged 9 commits into
developmentfrom
main

Conversation

@chetanr25
Copy link
Copy Markdown
Collaborator

No description provided.

vharkins1 and others added 9 commits May 25, 2026 08:54
Reworks the Fill Form screen:
- Mic recorder (Record / Pause / Stop & Transcribe) that posts audio to
  the local /forms/transcribe endpoint and seeds the input box. Electron
  grants the `media` permission; audio only ever goes to the local service.
- Extraction-model dropdown populated from /forms/models.
- Select one or more templates via keyboard-accessible tiles and fill
  them in a single submit, with per-form outcome reporting.
- Drops the manual "Template ID" and "Template Directory" inputs; adds a
  "Change PDF" control and drop-zone swap.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- POST /forms/transcribe forwards uploaded audio to the local Whisper
  sidecar (WHISPER_HOST) and returns the transcript; audio is streamed
  through and never persisted. Maps connection failures to 503.
- GET /forms/models lists the Ollama models the local instance reports,
  always surfacing the configured default even if not yet pulled.
- FormFill gains an optional `model` override, excluded before building
  the FormSubmission row (it is a runtime hint, not a column).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- LLM accepts an optional `model`, threaded through Controller and
  FileManipulator, falling back to OLLAMA_MODEL then qwen2.5:1.5b.
- Replaces the hardcoded `mistral` default across llm.py, the Makefile
  pull-model target (now OLLAMA_MODEL-configurable), and test_model.py.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Adds the whisper ASR service (faster-whisper small.en) plus WHISPER_HOST
  and OLLAMA_MODEL wiring; app now depends on it starting.
- Persists the SQLite DB in a fireform_db volume so created templates
  survive container rebuilds.
- Adds API tests for the transcribe (incl. service-down 503) and models
  endpoints and the per-fill model override; gitignores local CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
feat: voice input, model picker, and multi-form fill
@chetanr25 chetanr25 merged commit 1866976 into development May 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants